Skip to content

Conversation

@trivikr
Copy link
Contributor

@trivikr trivikr commented Jan 2, 2025

Issue #, if available:

Description of changes:

Adds polyfill to collect Blob in react-native environment where arrayBuffer API is not available.
This re-introduces the code removed in #1179, but only when Blob.prototype.arrayBuffer implementation is not available.

Tested by copying fetch-http-handler artifacts to aws-samples/aws-sdk-js-tests#223, and verifying that API call is successful.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr requested a review from a team as a code owner January 2, 2025 05:39
@trivikr trivikr changed the title fix(fetch-http-handler): add polyfill to collect Blob fix(fetch-http-handler): add polyfill to collect Blob in react-native Jan 2, 2025
@trivikr trivikr merged commit 1dd6ace into main Jan 2, 2025
10 of 11 checks passed
@trivikr trivikr deleted the polyfill-blob-arraybuffer branch January 2, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants